home *** CD-ROM | disk | FTP | other *** search
- 63
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- WinHelp
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWinHelp displays a windows Help file.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baWinHelp(Cmd, HelpFile, Data )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String, String.
- --- RECORDSEPARATOR ---
- Cmd is the help file command. Can be one of the following:
- --- RECORDSEPARATOR ---
- "Contents"
- --- RECORDSEPARATOR ---
- shows the Contents page.
- --- RECORDSEPARATOR ---
- "Context"
- --- RECORDSEPARATOR ---
- shows the page with the "Data" context number.
- --- RECORDSEPARATOR ---
- "PopUp"
- --- RECORDSEPARATOR ---
- shows the page with the "Data" context number in a pop-up window.
- --- RECORDSEPARATOR ---
- "Show"
- --- RECORDSEPARATOR ---
- show
- --- RECORDSEPARATOR ---
- s the topic found that matches "Data" if there is one exact match. If there
- --- RECORDSEPARATOR ---
- is more than one match, then the Search dialog box is displayed. If there is
- --- RECORDSEPARATOR ---
- no exact match, then an error message will appear.
- --- RECORDSEPARATOR ---
- "Search"
- --- RECORDSEPARATOR ---
- shows the topic found that matches "Data" if there is one exact match. If there
- --- RECORDSEPARATOR ---
- is more than one match, then the Search dialog box is displayed. If there is
- --- RECORDSEPARATOR ---
- no match, then the Search dialog box appears.
- --- RECORDSEPARATOR ---
- "Quit"
- --- RECORDSEPARATOR ---
- closes the Help file.
- --- RECORDSEPARATOR ---
- "Help"
- --- RECORDSEPARATOR ---
- shows the Help-On-Help page.
- --- RECORDSEPARATOR ---
- "Macro"
- --- RECORDSEPARATOR ---
- executes the Help m
- --- RECORDSEPARATOR ---
- acro named in "Data".
- --- RECORDSEPARATOR ---
- HelpFile is the name of the Help file to display. This should include the complete
- --- RECORDSEPARATOR ---
- path to the help file.
- --- RECORDSEPARATOR ---
- Data is a string containing extra information. This will vary according to the Cmd
- --- RECORDSEPARATOR ---
- used. Note that even if a number is required, this must be passed as a string.
- --- RECORDSEPARATOR ---
- "Contents"
- --- RECORDSEPARATOR ---
- Data should be "".
- --- RECORDSEPARATOR ---
- "Context"
- --- RECORDSEPARATOR ---
- Data is the context number, eg "4".
- --- RECORDSEPARATOR ---
- "PopUp"
- --- RECORDSEPARATOR ---
- Data is the context number, eg "4".
- --- RECORDSEPARATOR ---
- "Show"
- --- RECORDSEPARATOR ---
- Data is the topic string to show, eg "About BudAPI".
- --- RECORDSEPARATOR ---
- "Search"
- --- RECORDSEPARATOR ---
- Data is the topic string to search for, eg "About BudAPI".
- --- RECORDSEPARATOR ---
- "Quit"
- --- RECORDSEPARATOR ---
- Data should be "".
- --- RECORDSEPARATOR ---
- "Help"
- --- RECORDSEPARATOR ---
- Data should be "".
- --- RECORDSEPARATOR ---
- "Macro"
- --- RECORDSEPARATOR ---
- Data should be the name of the macro to execute, eg "PlayMovie".
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns 1 if successful, else 0. Not finding the Help file is not considered a failure.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set OK = WinHelp( "Show", the pathName & "myhelp.hlp", "Flowers" )
- --- RECORDSEPARATOR ---
- set OK = WinHelp( "Quit", the pathName & "myhelp.hlp", "" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- OK := WinHelp( "Show", FileLocation ^ "myhelp.hlp", "Flowers" )
- --- RECORDSEPARATOR ---
- OK := WinHelp( "Quit", FileLocation ^ "myhelp.hlp", "" )